
PROJECT = mergedirs
HEADERS = MergeDirs.h
OBJ     = MergeDirs.o HashFile.o CopyFile.o
CC      = gcc -std=c99
CFLAGS  = -Wall -Werror -pedantic -pedantic-errors

$(PROJECT): $(OBJ)
	$(CC) $(CFLAGS) -o $(PROJECT) $(OBJ)

%.o: %.c $(HEADERS)
	$(CC) $(CFLAGS) -c $<

clean:
	rm -f $(PROJECT) $(OBJ)
